import sbt._
import sbt.Keys._

import com.github.retronym.SbtOneJar

object SimSimilarBuild extends Build {

  lazy val simsimilar = Project(
    id = "simsimilar",
    base = file("."),
    settings = Project.defaultSettings ++ Seq(
      name := "SimSimilar",
      organization := "com.toutiao",
      version := "0.1-SNAPSHOT",
      scalaVersion := "2.10.3",
      resolvers += "Typesafe Releases" at "http://repo.typesafe.com/typesafe/releases",
      //libraryDependencies += "com.typesafe.akka" % "akka-actor" % "2.0.1",
      libraryDependencies += "org.elasticsearch" % "elasticsearch" % "1.0.1",
      libraryDependencies += "com.typesafe" % "config" % "1.0.0",
      libraryDependencies += "log4j" % "log4j" % "1.2.16",
      libraryDependencies += "net.liftweb" %% "lift-json" % "2.5.1",
      libraryDependencies += "org.eclipse.jetty" % "jetty-server" % "8.1.8.v20121106",
      libraryDependencies += "org.eclipse.jetty" % "jetty-servlet" % "8.1.8.v20121106",
      libraryDependencies += "org.elasticsearch" % "elasticsearch" % "1.0.1",      
      libraryDependencies += "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8",
      libraryDependencies += "com.twitter" %% "util-collection" % "6.23.0",
      libraryDependencies += "org.msgpack" %% "msgpack-scala" % "0.6.11",
      libraryDependencies += "org.slf4j" % "slf4j-log4j12" % "1.6.1",
      libraryDependencies += "org.slf4j" % "slf4j-api" % "1.6.1"
    ) ++ SbtOneJar.oneJarSettings
  )
}
